<div id="rightnow" class="noline">
    <h3 class="reallynow">
        <div class="folder_table">Liste des actualit&eacute;s</div>
        <a id="sdelete" href="javascript:;" class="page_white_delete">Supprimer</a>
        <a id="supdate" href="javascript:;" class="page_white_edit">Modifier</a>
        <a id="sinsert" href="javascript:;" class="page_add">Ajouter</a>
        <br />
    </h3>
</div>      
<table id="jqGrid" cellpadding="0" cellspacing="0"></table>
<div id="jqpager" style="text-align:center;"></div>

<div id="msg-nuevo" style="padding-top:15px; overflow: hidden;">
    <div class="_panel">
        <h2 align="center" id="frm-title">Nuevo Usuario</h2>

        <form method="post" id="frmnuevousuario">
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="66" align="right">&nbsp;</td>
                    <td width="10">&nbsp;</td>
                    <td width="124" align="left">&nbsp;</td>
                </tr>
                <tr>
                    <td align="right" valign="top"><strong>Titre:</strong></td>
                    <td>&nbsp;</td>
                    <td align="left">
                        <input name="txttitle" type="text" class="clsinput" id="txttitle" size="45" />
                    </td>
                </tr>
                <tr valign="middle">
                    <td align="right" valign="top"><strong>Actualit&eacute;:</strong></td>
                    <td>&nbsp;</td>
                    <td align="left">
                        <textarea name="txtcontenido" class="clsinput" id="txtcontenido"></textarea></td>
                    <td align="right"><div class="arrow_actu"></div></td>
                </tr>
                <tr>
                    <td colspan="4" align="center" valign="middle">&nbsp;</td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td><ul id="addedlist" class="ui-selectable"></ul></td>
                </tr>
                <tr>
                    <td align="right"><strong>Sections:</strong></td>
                    <td>&nbsp;</td>
                    <td align="left">
                        <select class="clsinput" name="cboseccion" id="cboseccion">
                            <option value="">S&eacute;lectionner...</option>
                            <?php
                            $i = 1;
                            $t = count($sections);
                            foreach ($sections as $v) {
                                if ($_SESSION['_int_id_typeuser'] == 1) {
                                    if ($i == 3)
                                        echo '<optgroup label="Sections">';
                                    ?>
                                    <option value="<?php echo $v['int_id_section']; ?>"><?php echo $v['var_desc_section']; ?></option>
                                    <?php
                                }
                                else {
                                    if ($i == 3)
                                        echo '<optgroup label="Sections">';
                                    if ($_SESSION['_int_id_section'] == $i || $i == 1 || $i == 2) {
                                        ?>
                                        <option value="<?php echo $v['int_id_section']; ?>"><?php echo $v['var_desc_section']; ?></option>
                                        <?php
                                    }
                                }

                                if ($i == $t)
                                    echo '</optgroup>';
                                $i++;
                            }
                            ?>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td align="right"><strong>Etat:</strong></td>
                    <td>&nbsp;</td>
                    <td align="left">
                        <select class="clsinput" name="cboestado" id="cboestado">
                            <option value="">S&eacute;lectionner...</option>
                            <?php
                            foreach ($states as $v) {
                                ?>
                                <option value="<?php echo $v['int_id_state']; ?>"><?php echo $v['var_state_description']; ?></option>
                            <?php } ?>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td align="right">&nbsp;</td>
                    <td>&nbsp;</td>
                    <td align="left">&nbsp;</td>
                </tr>
                <tr>
                    <td align="center">&nbsp;</td>
                    <td align="center">&nbsp;</td>
                    <td align="left"><input name="btnguardar" type="submit" class="clsinputbutton" id="btnguardar" value="Sauvegarder" />
                        <input id="s-dialog-cancelar2" class="clsinputbutton" type="button" value="Annuler" />
                    </td>
                </tr>
            </table>
        </form>
    </div>

    <div class="_panel last">
    	<h2 align="center" id="frm-title">Ajouter galeries</h2>
        <div style="border: solid #999 1px; height: 370px; overflow: auto; padding: 10px; margin-bottom: 10px; margin-left:10px; margin-top:25px;">
            <table border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <ol id="selectable"></ol>
                    </td>
                </tr>
            </table>
        </div>
    </div>

</div>


<table id="msg-alert" class="msgbox" border="0" align="center" cellpadding="0" cellspacing="0" style="width:300px;">
    <tr>
        <td class="msgbox1"></td>
        <td class="msgbox2"></td>
        <td class="msgbox3"></td>
    </tr>
    <tr>
        <td class="msgbox4"></td>
        <td align="center" valign="middle" class="msgbox5">
            <h2 align="center" id="msg-title">Nuevo Usuario</h2>

            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">

                <tr>
                    <td width="33%" align="left" valign="top"><img id="msg-image" src="<?php echo $this->pathBase; ?>/Resouces/images/alert.png" width="80" height="80" align="absmiddle" />
                    </td>
                    <td width="67%" align="left" valign="middle" style="padding-left:5px;"><h4><span id="msg-text"></span></h4>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <input id="s-dialog-cancelar4" style="padding:5px 15px 5px 15px; font-weight:bold; color:#333; border:solid #999 1px !important;" class="clsinputbutton" type="button" value="Accepter" />
                        <input id="s-dialog-cancelar3" style="padding:5px 15px 5px 15px; font-weight:bold; color:#333; border:solid #999 1px !important;" class="clsinputbutton" type="button" value="Annuler" />

                    </td>
                </tr>
            </table>

        </td>
        <td class="msgbox6"></td>
    </tr>
    <tr>
        <td class="msgbox7"></td>
        <td class="msgbox8"></td>
        <td class="msgbox9"></td>
    </tr>
</table>


